package com.tfb.service;

import java.util.List;

import com.tfb.rong.*;
import com.tfb.web.controller.Credentials;

public interface UserAssessmentI {

    ImageInfo selectByBodyMapID(String bodymapid);

    int insertBodyMapImageInfo(ImageInfo imageInfo);

    int insertBodyMap(BodyMap bodyMap);

    BodyMap selectByAssessID(String assessid);

    int AddAssessment(AssessmentBean ab);

    int updateAssessment(AssessmentBean ab);

    int deleteAssessment(Assessment ab);

    int addAssessmentComments(AssessmentCommentBean acb);

    int getNextID(String strtype);

    String getAuthorizationKeyword(Credentials credential);

    int updateUser(Users user);

    Users selectByLogin(String email, String password);

    Users selectUserInfo(Credentials credential);

    Users selectUserInfo(String openID);

    Users selectUserByPrimaryKey(String id);

    Users selectBindUserInfo(Users record);

    List<Users> selectAllUserInfoByStatusAndType(Users record);

    List<cover_OtherPresentPeople> queryAllOtherPresentPeopleByAssessment(String strid);

    AssessmentBean queryAssessmentwithoucomments(String strid);

    AssessmentCommentBean queryAssessMentDetail(String strid);

    List<Assessment> selectMyAssessment(Assessment record);

    int deleteOldLocationData();

    int insertUserInfo(Users user);

    int addDevice(Device device);

    int modifyDevice(Device device);
}
